import {Injectable} from "@angular/core";
import {services} from "../../../providers/service";
@Injectable()
export class StorageService extends services {
    outList() {
        return this.getData('../../../assets/data/outList.json')
            .then(data => {
                if (data[0].resultStatus == 'success') {
                    this.items = data[0].infoData.items;
                }
                return data;
            }, err => {
                console.log(err);
                return err;
            })
            .catch(file => {
                console.log(file);
            })
    }

}